import request from '@/utils/request'

// 查询户表未抄回数据视图列表
export function listMissingTerminalsFreezeXb(data) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView/listMissingTerminalsFreezeXb?pageNum=' + data.pageNum + '&pageSize=' + data.pageSize,
    method: 'post',
    data: data
  })
}

// 查询户表未抄回数据视图列表
export function listTerminalsFreezeXbWcView(query) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView/list',
    method: 'get',
    params: query
  })
}

// 查询户表未抄回数据视图详细
export function getTerminalsFreezeXbWcView(tenantId) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView/' + tenantId,
    method: 'get'
  })
}

// 新增户表未抄回数据视图
export function addTerminalsFreezeXbWcView(data) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView',
    method: 'post',
    data: data
  })
}

// 修改户表未抄回数据视图
export function updateTerminalsFreezeXbWcView(data) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView',
    method: 'put',
    data: data
  })
}

// 删除户表未抄回数据视图
export function delTerminalsFreezeXbWcView(tenantId) {
  return request({
    url: '/basedata/terminalsFreezeXbWcView/' + tenantId,
    method: 'delete'
  })
}
